{include file="public/header" /}
<link rel="stylesheet" href="/static/index/css/draw.css">
<body>
<div class="header">
    <span class="layui-icon layui-icon-left" onclick="load_href('{:url(\'user/index\')}',2)"></span> 安全中心
</div>
<ul class="pro-list-nav">
    <li data-type="" class="{if $Request.param.type == 'password'}active{/if}"
        onclick="load_href('{:url(\'security/password\')}?type=password',2)">
        <div>修改登录密码</div>
        <p></p>
    </li>
    <li data-type="1" class="{if $Request.param.type == 'pay_password'}active{/if}"
        onclick="load_href('{:url(\'security/password\')}?type=pay_password',2)">
        <div>修改支付密码</div>
        <p></p>
    </li>
</ul>
<form action="{:url('security/save')}" method="post" class="form layui-form">
    <input type="hidden" name="type" value="{$Request.param.type}"/>
    <div class="draw-account-news" style="margin: .5rem">
        <div class="flex-layout">原密码
            <input type="password" name="old_password" lay-verify="required" lay-reqtext="请输入旧密码"
                   lay-verType="tips"
                   placeholder="请输入旧密码" style="text-align: right">
        </div>
        <div class="flex-layout">新密码
            <input type="password" name="password" lay-verify="required" lay-reqtext="请输入新密码"
                   lay-verType="tips"
                   placeholder="请输入新密码" style="text-align: right">
        </div>
        <div class="flex-layout">确认密码
            <input type="password" name="password_confirm" lay-verify="required" lay-reqtext="请确认新密码"
                   lay-verType="tips"
                   placeholder="请确认新密码" style="text-align: right">
        </div>

    </div>
    <p class="save save-fixed upd-save" lay-submit lay-filter="save" formObj=".form">修改</p>
</form>
</body>
{include file="public/footer"/}
</html>